﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="headerlogin.ascx.cs"
    Inherits="huaguwang.uc.index.headerlogin" %>
<%@ Import Namespace="huaguwang" %>

<script language="javascript" type="text/javascript">
    $(function() {
        $.getJSON("/user/userfunction.aspx?stype=0", function(json) {
            var $d1 = $("#div_login");
            var $d2 = $("#div_userName");
            if (json["success"] == "True") {
                $d1.hide();
                $("#divu").html("您好:" + json["Msg"]);
                $d2.show();
            } else {
                $d2.hide();
                $d1.show();
            }
        });

    });    
</script>

<div id="topBG">
    <span id="header_left">
        <img src="/images/house.png" width="10" height="10" /><a href="index.aspx">将股易加入收藏夹</a>
    </span><span id="header_right"><span id="div_login"><a href="index.aspx">首页</a>| <a
        href="<%=AdminPublic.ConstURL.LoginName %>" title="登录华股网" target="_blank">请登录</a>|
        <a href="<%=AdminPublic.ConstURL.RegisterName %>" title="注册华股网" target="_blank">注册</a>
    </span><span id="div_userName" style="display: none"><a id="divu">你好!张三</a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="index.aspx">首页</a>| <a href="index.aspx">我的空间</a> </span>|<a href="index.aspx">帮助中心</a>|
        <a href="index.aspx">网站导航</a> </span>
</div>

